#!/bin/bash

#Desc:back up MySql database xtBlog
#Usage:./backmysql.sh
#Author:zhanghuanhuan
#update:20 8-28

dateflag=`date +%F\ %H:%M:%S`
mysqldump xtblog >/mysqlback/xtblog$dateflag.sql -p <<EOF
mes!@#123
EOF